package inet.db.bongda.adm;

import java.math.BigDecimal;
import java.sql.Timestamp;


public class Admin implements java.io.Serializable {
    private BigDecimal id = null;
    private String username = null;
    private String password = null;
    private String fullname = null;
    private String phone    = null;
    private Timestamp regTime = null;
    private long right        = 0;
    private String ipAddress  = null;
    private int  status       = 0;

    public Admin() {
    }

    public Admin(BigDecimal adminId, String username, String password, String fullname, String phone, String ipAddress, int status) {
        this.id = adminId;
        this.username = username;
        this.password = password;
        this.fullname = fullname;
        this.phone = phone;
        this.ipAddress = ipAddress;
        this.status = status;
    }

    //-------------------------------------------
    public BigDecimal getId() {
        return this.id;
    }
    public void setId(BigDecimal value) {
        this.id = value;
    }
    //-------------------------------------------
    public String getUsername() {
        return this.username;
    }
    public void setUsername(String value) {
        this.username = value;
    }
    //-------------------------------------------
    public String getPassword() {
        return this.password;
    }
    public void setPassword(String value) {
        this.password = value;
    }
    //-------------------------------------------
    public String getFullname() {
        return this.fullname;
    }
    public void setFullname(String value) {
        this.fullname = value;
    }
    //-------------------------------------------
    public String getPhone() {
        return this.phone;
    }
    public void setPhone(String value) {
        this.phone = value;
    }
    //-------------------------------------------
    public Timestamp getRegTime() {
        return this.regTime;
    }
    public void setRegTime(Timestamp value) {
        this.regTime = value;
    }
    //-------------------------------------------
    public long getRight() {
        return this.right;
    }
    public void setRight(long value) {
        this.right = value;
    }
    //-------------------------------------------
    public String getIPAddress() {
        return this.ipAddress;
    }
    public void setIPAddress(String value) {
        this.ipAddress = value;
    }
    //-------------------------------------------
    public int getStatus() {
        return this.status;
    }
    public void setStatus(int value) {
        this.status = value;
    }
    //-------------------------------------------



}
